/**
 */
package OBSL;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Transition Rule</b></em>'.
 * <!-- end-user-doc -->
 *
 * <!-- begin-model-doc -->
 * Transition Rule
 * <!-- end-model-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link OBSL.TransitionRule#getName <em>Name</em>}</li>
 *   <li>{@link OBSL.TransitionRule#getRuleset <em>Ruleset</em>}</li>
 *   <li>{@link OBSL.TransitionRule#getBefore <em>Before</em>}</li>
 *   <li>{@link OBSL.TransitionRule#getAfter <em>After</em>}</li>
 *   <li>{@link OBSL.TransitionRule#getComparisons <em>Comparisons</em>}</li>
 *   <li>{@link OBSL.TransitionRule#getType <em>Type</em>}</li>
 *   <li>{@link OBSL.TransitionRule#getDefiningLink <em>Defining Link</em>}</li>
 * </ul>
 * </p>
 *
 * @see OBSL.OBSLPackage#getTransitionRule()
 * @model
 * @generated
 */
public interface TransitionRule extends EObject {
	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see OBSL.OBSLPackage#getTransitionRule_Name()
	 * @model required="true"
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link OBSL.TransitionRule#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Ruleset</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link OBSL.Ruleset#getRules <em>Rules</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Ruleset</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Ruleset</em>' container reference.
	 * @see #setRuleset(Ruleset)
	 * @see OBSL.OBSLPackage#getTransitionRule_Ruleset()
	 * @see OBSL.Ruleset#getRules
	 * @model opposite="rules" required="true" transient="false"
	 * @generated
	 */
	Ruleset getRuleset();

	/**
	 * Sets the value of the '{@link OBSL.TransitionRule#getRuleset <em>Ruleset</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Ruleset</em>' container reference.
	 * @see #getRuleset()
	 * @generated
	 */
	void setRuleset(Ruleset value);

	/**
	 * Returns the value of the '<em><b>Before</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Before</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Before</em>' containment reference.
	 * @see #setBefore(TopLevelSituation)
	 * @see OBSL.OBSLPackage#getTransitionRule_Before()
	 * @model containment="true" required="true"
	 * @generated
	 */
	TopLevelSituation getBefore();

	/**
	 * Sets the value of the '{@link OBSL.TransitionRule#getBefore <em>Before</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Before</em>' containment reference.
	 * @see #getBefore()
	 * @generated
	 */
	void setBefore(TopLevelSituation value);

	/**
	 * Returns the value of the '<em><b>After</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>After</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>After</em>' containment reference.
	 * @see #setAfter(TopLevelSituation)
	 * @see OBSL.OBSLPackage#getTransitionRule_After()
	 * @model containment="true" required="true"
	 * @generated
	 */
	TopLevelSituation getAfter();

	/**
	 * Sets the value of the '{@link OBSL.TransitionRule#getAfter <em>After</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>After</em>' containment reference.
	 * @see #getAfter()
	 * @generated
	 */
	void setAfter(TopLevelSituation value);

	/**
	 * Returns the value of the '<em><b>Comparisons</b></em>' containment reference list.
	 * The list contents are of type {@link OBSL.QualityRelation}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Comparisons</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Comparisons</em>' containment reference list.
	 * @see OBSL.OBSLPackage#getTransitionRule_Comparisons()
	 * @model containment="true" ordered="false"
	 * @generated
	 */
	EList<QualityRelation> getComparisons();

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * The literals are from the enumeration {@link OBSL.RuleType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see OBSL.RuleType
	 * @see #setType(RuleType)
	 * @see OBSL.OBSLPackage#getTransitionRule_Type()
	 * @model required="true"
	 * @generated
	 */
	RuleType getType();

	/**
	 * Sets the value of the '{@link OBSL.TransitionRule#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see OBSL.RuleType
	 * @see #getType()
	 * @generated
	 */
	void setType(RuleType value);

	/**
	 * Returns the value of the '<em><b>Defining Link</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Defining Link</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Defining Link</em>' reference.
	 * @see OBSL.OBSLPackage#getTransitionRule_DefiningLink()
	 * @model required="true" transient="true" changeable="false" volatile="true" derived="true"
	 *        annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot derivation='before.definingIndividualParameter'"
	 * @generated
	 */
	TemporalParameter getDefiningLink();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model ordered="false"
	 *        annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot body='before.parameters'"
	 * @generated
	 */
	EList<TemporalParameter> otherLinks();

} // TransitionRule
